package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * 存储
 *
 * @author shan
 * @date 2022/07/04
 */
public class Storage implements Serializable {
    
    private Long capacity;
    private Long use;
    private Long leisure;

    public Storage() {
    }

    public Storage(Long capacity, Long use, Long leisure) {
        this.capacity = capacity;
        this.use = use;
        this.leisure = leisure;
    }

    public Long getCapacity() {
        return capacity;
    }

    public void setCapacity(Long capacity) {
        this.capacity = capacity;
    }

    public Long getUse() {
        return use;
    }

    public void setUse(Long use) {
        this.use = use;
    }

    public Long getLeisure() {
        return leisure;
    }

    public void setLeisure(Long leisure) {
        this.leisure = leisure;
    }

    @Override
    public String toString() {
        return "Storage{" +
                "capacity=" + capacity +
                ", use=" + use +
                ", leisure=" + leisure +
                '}';
    }
}
